home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 46
/
Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso
/
-in_the_mag-
/
reader_requests
/
scilab
/
demos
/
lmitool
/
testlinprog
< prev
next >
Wrap
Text File
|
1999-09-16
|
201b
|
14 lines
getf(SCI+'/demos/lmitool/linprog.sci','c')
rand('seed',0);
//rand('normal')
n=10;nc=6;
A=eye(n,n);
b=zeros(n,1);
C=rand(nc,n);
d=-C*ones(n,1);
c=rand(n,1);
x0=rand(c);
[x,cout]=linprog(A,b,C,d,c,x0)